package com.yxw.yx_hotel.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "UserTokenVo", description = "用户签名信息")
public class UserTokenVo {

    @ApiModelProperty("userId")
    private Long userId;
    
    @ApiModelProperty(value="类型 1:租户 2：SAAS管理员 3：租户子账户")
    private Integer userType;

    @ApiModelProperty(value="工号")
    private String userNum;
    
    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("租户ID")
    private Long tenantId;
    
    @ApiModelProperty("昵称")
    private String nickName;
    
    @ApiModelProperty("手机号")
    private String mobilePhone;

    @ApiModelProperty("效验码")
    private Long checkCode;

    @ApiModelProperty("有效期截止时间（redis时间）")
    private LocalDateTime expirationDate;
}
